<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../js/vue.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<mycom2></mycom2>
		</div>
		<script type="text/javascript">
			Vue.component('mycom2',{
			  		template:'<div><h3>这是使用 Vue.extend 创建的组件</h3><span>123</span></div>'
			  })
			
			new Vue({
				el:"#app"
			});
		</script>
	</body>
</html>
